Skip to content

feat(pilotctl): pilotctl review CLI command (PILOT-410)#269

Closed
matthew-pilot wants to merge 4 commits into
mainfrom
openclaw/pilot-410-20260616-155929
Closed

feat(pilotctl): pilotctl review CLI command (PILOT-410)#269
matthew-pilot wants to merge 4 commits into
mainfrom
openclaw/pilot-410-20260616-155929

Conversation

@matthew-pilot

Copy link
Copy Markdown
Collaborator

What

Adds pilotctl review <pilot|app-id> [--rating N] [--text "..."] command — the E4 review-submission path for Pilot Protocol.

Why

PILOT-410: on-demand review submission for Pilot or a given app id. The telemetry server already accepts kind=review events (PILOT-411 server-side is ready). The mdReviews aggregate schema exists in the app-store metadata for read-only display.

How

The command:

  1. Accepts a target (pilot or app-id), optional --rating (1–5), optional --text
  2. Builds a JSON payload with kind: "review"
  3. Sends it as a datagram to the Feedback agent (node 16437, hostname feedback)
  4. The feedback agent forwards it to the telemetry pipeline

Files changed

  • cmd/pilotctl/review.go — new file: cmdReview function, payload struct, help text registration
  • cmd/pilotctl/main.go — dispatch case, commandHelp entry, usage line, context catalog entry

Verification

  • go build ./cmd/pilotctl/
  • go vet ./cmd/pilotctl/
  • go test ./cmd/pilotctl/ ✓ (9.2s, all passing)

Closes PILOT-410

Adds `pilotctl review <pilot|app-id> [--rating N] [--text "..."]`
command for submitting reviews and ratings of Pilot Protocol or
installed apps.

The command sends a JSON datagram (kind=review) to the Feedback
agent (node 16437, hostname "feedback"), which forwards it to the
telemetry pipeline. This is the E4 review-submission path (E1/E2/E3
come from the daemon app-store plugin, E4 from the CLI).

Closes PILOT-410
matthew-pilot added 3 commits June 16, 2026 16:40
The gen-cli-reference.sh script captures pilotctl --help output. When a
Pilot daemon is running (local dev), the output includes a MOTD banner.
CI has no daemon, so the diff checker fails. Remove the MOTD line so the
committed file matches CI's output.
pilotctl update command is on a different branch; the committed doc incorrectly included it. The generator output (minus MOTD) now correctly shows only review.
@TeoSlayer

Copy link
Copy Markdown
Collaborator

Closing — superseded by a merged PR for the same ticket.

@TeoSlayer TeoSlayer closed this Jun 17, 2026
@matthew-pilot matthew-pilot deleted the openclaw/pilot-410-20260616-155929 branch June 20, 2026 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants